<template>
	<view class="content">
		<!-- 头部 -->
		<!-- <view class="header" style="margin-top: 50rpx;">
			<uni-nav-bar left-icon="back" left-text="返回" 
			 title="设置" color='#3b71d2' @clickLeft="back" ></uni-nav-bar>
		</view> -->
		<!-- 内容 -->
		<view class="center">
			<view class="li" @tap='help'>
				帮助与反馈
			</view>
			<view class="li" @tap='about'>
				关于及物
			</view>
		</view>
		<view class="but" @tap='index'>
			退出登录
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			// 返回上一级
			back(){
				uni.navigateBack({
					delta: 1
				})
			},
			help(){
				uni.navigateTo({
					url:'../Feedback/Feedback'
				})
			},
			about(){
				uni.navigateTo({
					url:'../Buy_again/Buy_again'
				})
			},
			index(){
				try {
				    uni.clearStorageSync();
				} catch (e) {
				};
				// uni.navigateTo({
				// 	url:'../index/index'
				// })
				window.location.href='http://jwdz.shenghuang365.com/mobile/h5/#/';
				
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		.center{
			.li{
				font-size:30rpx;
				font-family:PingFang SC;
				font-weight:500;
				color:rgba(73,72,72,1);
				border-bottom: 1px solid #EEEEEE;
				padding: 30rpx 30rpx;
			}
		}
		.but{
			background:rgba(98,141,219,1);
			box-shadow:0px -1px 8px 0px rgba(0, 0, 0, 0.08);
			border-radius:20rpx;
			font-size:35rpx;
			font-family:PingFang SC;
			font-weight:500;
			color:rgba(255,255,255,1);
			padding: 20rpx 0;
			width: 300rpx;
			margin: 50rpx auto;
			text-align: center;
		}
	}

</style>
